package com.haolijun.eecms.dao;

import com.haolijun.eecms.entity.TbFacility;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * @ClassName TbFacilityDao
 * @Description TODO
 * @Author hljstart
 * @Date 2023/3/12 14:24
 * @Version 1.0
 */
@Mapper
public interface TbFacilityDao {

    public List<HashMap> searchFacilityByPage(HashMap param);

    public long searchFacilityCount(HashMap param);

    public int insert(TbFacility facility);

    public int delete(@Param("id") Integer id);

    public int update(TbFacility facility);

    public HashMap searchFacilityInfo(@Param("id") Integer id);

    public int updateFacilityStatus(HashMap param);

}
